import bb.cascades 1.2

Sheet {
    id: root
    
    onClosed: {
        root.destroy();
    }
    
    Page {
        titleBar: TitleBar {
            dismissAction: ActionItem {
                title: "Back"
                onTriggered: {
                    root.close();
                }
            }
            acceptAction: ActionItem {
                title: "Save"
                onTriggered: {
                    root.close();
                }
            }
        }
        
        Container {
            layout: DockLayout {
            }
            Label {
                text: qsTr("Settings!")
                textStyle.base: SystemDefaults.TextStyles.BigText
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
            }
        }
    }
}
